package com.aixingfu.sports.Model;

import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.10.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容:
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class UpgradeModel extends StateModel{


    /**
     * code : 1
     * status : success
     * message : 卡升级数据
     * data : {"member_info":{"username":"323232","mobile":"18866668088","birth_date":"2019-03-15","note":"今天上午，十三届全国人大二次会议","avatar_url":null,"artive_day":"365","card_venue_id":"59","last_date":"2020-03-18"},"category_list":[{"id":"1003","card_name":"GC36","sell_price":null,"original_price":null,"max_price":"50001.00","min_price":"35999.00","duration":{"day":365}},{"id":"2108","card_name":"吴红杰测试卡(复制卡-1)","sell_price":"60000.00","original_price":"60000.00","max_price":"0.00","min_price":"0.00","duration":{"day":365}}]}
     */


    private DataBean data;



    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * member_info : {"username":"323232","mobile":"18866668088","birth_date":"2019-03-15","note":"今天上午，十三届全国人大二次会议","avatar_url":null,"artive_day":"365","card_venue_id":"59","last_date":"2020-03-18"}
         * category_list : [{"id":"1003","card_name":"GC36","sell_price":null,"original_price":null,"max_price":"50001.00","min_price":"35999.00","duration":{"day":365}},{"id":"2108","card_name":"吴红杰测试卡(复制卡-1)","sell_price":"60000.00","original_price":"60000.00","max_price":"0.00","min_price":"0.00","duration":{"day":365}}]
         */

        private MemberInfoBean member_info;
        private List<CategoryListBean> category_list;

        public MemberInfoBean getMember_info() {
            return member_info;
        }

        public void setMember_info(MemberInfoBean member_info) {
            this.member_info = member_info;
        }

        public List<CategoryListBean> getCategory_list() {
            return category_list;
        }

        public void setCategory_list(List<CategoryListBean> category_list) {
            this.category_list = category_list;
        }

        public static class MemberInfoBean {
            /**
             * username : 323232
             * mobile : 18866668088
             * birth_date : 2019-03-15
             * note : 今天上午，十三届全国人大二次会议
             * avatar_url : null
             * artive_day : 365
             * card_venue_id : 59
             * last_date : 2020-03-18
             */

            private String username;
            private String mobile;
            private String birth_date;
            private String note;
            private String avatar_url;
            private String artive_day;
            private String card_venue_id;
            private String last_date;

            public String getAvatar_url() {
                return avatar_url == null ? "" : avatar_url;
            }

            public void setAvatar_url(String avatar_url) {
                this.avatar_url = avatar_url;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getBirth_date() {
                return birth_date;
            }

            public void setBirth_date(String birth_date) {
                this.birth_date = birth_date;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }



            public String getArtive_day() {
                return artive_day;
            }

            public void setArtive_day(String artive_day) {
                this.artive_day = artive_day;
            }

            public String getCard_venue_id() {
                return card_venue_id;
            }

            public void setCard_venue_id(String card_venue_id) {
                this.card_venue_id = card_venue_id;
            }

            public String getLast_date() {
                return last_date;
            }

            public void setLast_date(String last_date) {
                this.last_date = last_date;
            }
        }

        public static class CategoryListBean {
            /**
             * id : 1003
             * card_name : GC36
             * sell_price : null
             * original_price : null
             * max_price : 50001.00
             * min_price : 35999.00
             * duration : {"day":365}
             */

            private String id;
            private String card_name;
            private String  sell_price;
            private String  original_price;
            private String max_price;
            private String min_price;
            private DurationBean duration;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCard_name() {
                return card_name;
            }

            public void setCard_name(String card_name) {
                this.card_name = card_name;
            }

            public String getSell_price() {
                return sell_price == null ? "" : sell_price;
            }

            public void setSell_price(String sell_price) {
                this.sell_price = sell_price;
            }

            public String getOriginal_price() {
                return original_price == null ? "" : original_price;
            }

            public void setOriginal_price(String original_price) {
                this.original_price = original_price;
            }

            public String getMax_price() {
                return max_price;
            }

            public void setMax_price(String max_price) {
                this.max_price = max_price;
            }

            public String getMin_price() {
                return min_price;
            }

            public void setMin_price(String min_price) {
                this.min_price = min_price;
            }

            public DurationBean getDuration() {
                return duration;
            }

            public void setDuration(DurationBean duration) {
                this.duration = duration;
            }

            public static class DurationBean {
                /**
                 * day : 365
                 */

                private int day;

                public int getDay() {
                    return day;
                }

                public void setDay(int day) {
                    this.day = day;
                }
            }
        }
    }
}
